<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <style>
a:link{
    color: springgreen;
}
a:visited{
    color: red;
}
a:hover{
    background-color: yellow;
}
a:active{
    background-color: blueviolet;
}

input:focus{
    border-radius: 10px;
    border: 3px solid seagreen;
}
input:hover{
    background-color: skyblue;
}

input:active{
    background-color: yellow;
}
    </style>

<a href="http://www.baidu.com">跳转百度</a>

<input type="text" >

</body>
</html>